-added all the code for reading configuration file and structure file and generating IR.