Fixed some mistakes in docs and in {U} markup operator
Several major changes in code organization

* Moved web ui system to separate file
* Moved all options to single file
* Added basic functions to simplify setting up running the whole engine