Database Class Build