Add config for database cleaner

ref #2