functional handlers for main UI and more idiomatic static content serving