Create locationFactory