Small bug fixing changes to enable proper database operations. Two of mock exchanges are being persisted as an example.