Output template and project after parsing

But there is still problem about dependencies among "cmm" codes.