Create framework for location.js

Create a very basic framework as location.js that will be developed on to create the full state. Base this loosely on the FreeText state.
Indentation looks out here too.