Starts #4 : still needs to have some more testing.
Fixed #13 by adding some additional parameters to the ForeignKeys in the record for the location and category fields.