Reorganize code, removed Flask-Script and manage files to make the setup for user simpler.