move query to own class
implement some logical query operators
implement $not query operator