Put registration in a separate module.
Add a method DBInsert.