Work on initializing commands and queries so that callbacks can be defined as string references to functions on the object