Remove unused files. Update libraries.