Splitted the compiler from the main program