[Pooja/Faris] : 1. Fixed view so that it returns the right params to the controller
2. Refactored the initializer.