Contains the controllers implementation.