Add plugins submodule, patterns, etc
More reworking...