Added migration and model for goods.
Updated database config to squash a few bugs.