Refactoring. Dvide app into separate classes. Add more controls to change field and fill/clear field