adding flask and libraries for tests