Remove unnecessary file
Check for the existance of the database before connecting to it
Add flask_cors to handle crossdomain requests