move server.py
jinja2 template for server