new makefile, rework to add code gen
moved out main, more assemblage