Upgrading to laravel 4.2. Refactored us use dependency injection