Learning how to work with flask