added functionality to build up screen from individual classes and added click functionality