Created Database class