GH-4 Handle the case where plugin registers no events
Move around code to make use of python packages