remove unused files
refactor code structure