Database class added