Removed all references to sys user from the other tables. Changed creation of the ExtensionManager.