How would you approach migrating a legacy application to a microservices architecture at AgreeYa Solutions?