Refactoring - use flask-migrate and flask-script