Adds query operators and some changes to queries.
Splits dynamic and static arrays into Array and Grid templated classes