RefAgent: A Multi-agent LLM-based Framework for Automatic Software Refactoring