Moved baseNoteModel from InstrumentTrack class to MidiEventProcessor class in order to make Piano class independent from InstrumentTrack class (so it can be used by other classes as well). Furthermore did various cleanups and coding style improvements.