Add own model to generate code. Now the registration module can be
completly disabled.
add model code to osregistration module
add user library to osregistration module