Setup to run Flask server
Removed PHP legacy code