Added instrument introspection
added instrument introspection and factory