Database Class done