main functionality of server
distance function
Merge branch 'master' of github.com:mauryquijada/aware