- removed dependency to app on controller
- controller is now an object