Added main-wrapper plugin.
Updated plugins to new API. Controllers now use the wrapper feature.