Komax codereview

Finished my first code review:
 * checked classes for code style
 * simplified some boolean conditions
 * factorization of complex conditions into separate variables
 * addition of @Override
 * removed unnecessary imports
 * descriptive identifiers
 * refactoring of duplicated code patterns into helper private methods