set up basic flask server