Web Application improvement.

- change: layout redesign
- change: code refactoring, framework improvement
- new: started integrating CodeMirror (has some issues though)