some work on plugin management and registration