remove unnecessary codes and files