core - clean code, JavaFX - change UI
core - cleaning code
core + JavaFX - change processing to background thread
Merge pull request #3 from webrob/cleaning

cleaning