Initial commit of generator source code