The VeamsModules plugin provides a whole system to initialize, render, save and destroy your modules.