map database name to php class