RegAPI

* Updated the RegAPI so it will compile and partly implements the
RegAPI.
- Still need to work on the Custom Name part