Discover plugins to be executed

**WIP: do not merge**

This branch is for plugin discovery.