start implementation
first working implementation of the query parser