Separated CLI logic from application starting logic, added EntryPoint class. Added check if five or more same-valued fields exists. Minor refactorings. Minor additions to GUI class.