More structure for the server and client code — WE NEED TO BE CAREFUL ABOUT SYNCHRONIZATION

— Location updates working on iOS
— both web socket servers are working (using python threads)