enable more checkstyle rules and refactor code

- remove nested blocks
- change C style arrays to java style
- long constants should be defined with upper L instead of l.
    l looks like the digit 1
- add private constructor to utility classes!
    these classes contain only static methods/fields in their API,
    and it shouldn't be possible to instantiate them.
    private constructor is hiding implicit public default constructor!!!
- classes with only private constructors should be declared final
- array initialization split over more than one line, should contain a
    trailing comma for easier refactoring or adding new elements
- each variable declaration should be in its own statement/own line
    according to several Code conventions/best practices
- refactored Singletons