clean code and delete unused files