#114 add/config checkstyle.xml and address some checkstyle formatting
issues in classes