Module scaffolding

- Added support for DB set inheritance.