Add database config support; add module scaffolding