removing the old database class