move generated raws and string tables to separate types