Flask tutorial done in class