Setting up flask template