Learning Flask python framework