crude skeleton for location manager and the UI sucks but at least it's on a webpage and you don't have to do it by hand.