removing unneeded files and editing main