Renamed mainfile to main