refactor location to allo for a parent location to clean up expanding paths
clean up how location is built