database cleanup
specify database type in config file