Implemented templating to simplify the scaffolding process.
Added menu/main.xml template to resources, and implemented its scaffolding.