remove unused files and modify format