Encapsulated application class
Separated out application class in separate file