Code style issues resolved. Java docs added.
copyright updated.
Merge pull request #53 from Asitha/code-cleanup

Code cleanup