removing unused files and keeping refactored agent file