use flask-migrate for db migration and setup back file structure