Add Database class.