move some geo functions into their own file