Create a main for run Ctds compiler with falgs for optimization