added location model
script for dumping tables to csv files