finished code gen and changed UI

white flag, i'm done, no more for now.