adds basic database class