Move site to using flask