Creating a QueryPreProcessor

This will enable to break the into into seperated expression based on
the calling method.