add a ignore file and delete unuseful files