MuseScore 21/07/2015: MIDI Actions #2

I started to explore the existing code of MIDI Actions. The way of storing actions' data is very different from what I wanted to implement.
This code is found in different classes and files, so I need some time to understand how it works together.