Fixed extra spaces
Added dependency injection container to the controllers