Flask now used as framework