some framework setup for frontend, fixed some backend errors
some more pages and handlers created, not full functional yet