Extracts data from database.

This class extracts data from database . we just make object of this 
class and use its function to extract various cursor.