Modloader changes
Start to implement buildRegistor