Start refactoring application into class