Adds the locator_to_coordinates calculation.

Also cleans up the webserver file.