requirements fix
made into a proper flask app