change the folder structure again, flask is now in top folder, lots of extra unfinished/unwired functions in distance, tried to get something working...