format code and remove abundant files.