Adding Flask backend
MOre minor tweaks