Move StatementGenerator (except for licensed portions) back to public repo