setup Database Class