Increased test case coverage. Configured check style plugin. Added more javadoc.