Application controller class

Started work on application controller class.