Fix gradle plugin, add command interfaces
Add base stage class