Copying over Locations code from old web project.