Redesign of menu files. Now using JSON. Added new functionality.
Escaped resulting JSON to allow including with SSI.
Added functionality to write group files from templates.
Updated documentation. Still lacking some depth.