add beginnings of support for generic (not just in the Java sense) operations (get, put, find pattern in graph, shortest path, etc.)