last steps of former flask app, and SQL learning