this is the main control instance for the sm json interface