add events dispatcher as submodule
start unit testing
add getActiveSubPalettes to Palette