Refactors code to CodePro guidelines. Recommenting of view/buttons package. Removal of unnecessary 'this' keywords, change of variables to 'final', additon of console messages for thrown exceptions.