basic flask server and templates