move config to a class, prepare for DB config
add per-project database config