cleanup flask and remove pony and bootstrap