added some basic flask stuff