Corrected database operations class names
Created virtual class to model database operations