added where query finder to dynamic attr
extracted dynamic_attrs to a seperate gem