removes all unwanted code form the project