Komax refactoring factor methods

Refactoring on:
 * descriptive identifiers
 * factorization of long conditions into separate variable
 * private helper methods for code duplicates
 * small amount @Override