Add schema
Add factories in module config
Move adapter config
Fix enum manager factory