moved some GremlinBuilder methods to TypeChecker class. Added some functionality