move lua files to mod files, restructure generator, get proper userdocs