adding some functionality to allow us to create a location using a string.