Use modules instead of plugins

 * Use modules
 * Update sample project to use version 3.0.0-M1-SNAPSHOT

Resolves #21