Delte view maine, merge all the mains in the code to one primary main