Adding Database Class