Rewrite the whole web application

build a litte framework (MVC)