move the registration function to the library
Authored by: gerddie 2007-05-03
Parent: [r382]
Child: [r384]