WIP.
More work on database creation with SogaEngine.