Basic implementation of plugin generate functionality (WIP)