added migration_enabled config to db conf
made some methods public, added method to get current and config version
made public loadConfigs
comment block update