drop unused TYPE_ consts
change keyHandles to registrations on getRegisterData()

as it's a list of registrations, not keyhandles
correct classname
add copyright, license and a small comment about the example