db initialization made easy