sml: add factory and repository

- add comments to value, entity
- add factory and repository
- update meta types to include new DDD types
- add modules to the model
test data: rebase after adding modules to model