Add checkstyle ruleset.
Checkstyle.
Adjust pom.
Fix cases of wrong case.
Add tests.