Move product projection search to queries package.
Move search related classes to common module.