removing useless files and cloning main file