Add model class to handle storing and retrieving data

- Implemented posts to remove and add locations
- Few other fixes