Updated README
some refactoring and bug fixes
Added some initial tests for query operators