A new way to do things in flask