fixing coding convention and providing javadoc