Start hacking on issuegen functionality. Incomplete so far.