config DB and shit