Add flask server and templates