* `settings` is now attribute of `app`, more OO.
* Adjusted code structure
* Setting encoder and decoder are now top-level functions.
* GUI creation made more OO.