Unused imports, missing stack traces in logging, resource handling issues and java doc issues fixed.
copyright updated
Merge pull request #94 from Asitha/code-cleanup

Code cleanup