new register system

enable registering and unregistering all objects at once