Added filter package and Filter class.
Implemented in all data sources the API for doing filter based reports.