Refactored Dependencies in Controllers

Changed the way I used to inject dependencies in controllers.
Because it makes the code more readable.