Namespace creation and general function decoding working.
Replaced event list crap with more granular callback model.