remove unused files and cleanup