Domain Object  - Filter

Finished work on the filter domain object. It will create the sql where
clause for all queries.