refactor flask-yum
updated