Added update method
Created singleton object Controller
Modified project
Modified main method