New creates a new Registrar instance, updating the registry file on `file.State` updates. New fails if the file can not be opened or created.
GetStates return the registrar states
Init sets up the Registrar and make sure the registry file is setup correctly
Stop stops the registry. It waits until Run function finished.