Learning Flask by implementing code from Flask Mega Tutorial