Add Controller class
Convert pages into Controller classes