added pagen as a submodule in scripts
removed typedef for scaffold types