Make DB class static
Rewrite routing
Merge branch 'master' of github.com:hawalius/app