flask restful and polymer