Adding main function file