added query console
reference nodes now point to the instance rather than the class