Flask setup from tutorial