Initial commit.
Added some infrastructure for internal events.

This shall come in use for further interactions between charts.