Fix wrong line break

Right curly brace and next "else", "catch" and "finally" keywords should
be located on the same line
remove trailing whitespaces
organize imports
use modifier 'final' where possible
Merge pull request #17 from maggu2810/code-style

Code style
Remove main class reference

This library does not contain a main class.
Merge pull request #18 from maggu2810/remove-main-class-ref

Remove main class reference