Change pkg from main to inst. Add Instruments struct.