Beggining to start the code gen.