Added example project.
Added ability to register arbitrary objects.
Added prototypes for register/deregister methods