/domain/* TODO

1. Test DB mappings 
1.1 Create DB and check that all triggers work as expected.
1.2 Check that doamin objects map sensibly to DB schema