created instrument.py class