added statment, comment and MERGE
implemented almost all needed methods for building graph queries