Refactored classes into separate files. Added LocationUtil, a package of functions to aid in location processing.