Making database class
Database class