Move data model and config into separate files.