Bug fixed unchanged view assignment
Implemented Controller class