refactor analysis event
remove unused files