full code generator with xls cpts and html interface; needs some work