reworked cup, classgen to remove unnecessary files. fixed Main compilation warning.