modularize config and database
bump version