add an invariant in processor
add custom queries member variable and custructors into processor
add custom queries to processor, finished
adjust order of retrived results