* fix typo
* split server and ui update methods
* add server module
* bind new app.js as script into index.html