added flask app templates and layout