moving templates to jade templating language, updated router, updated styles