Finished location table. Added models and queries, completely untested.