Migrating Legacy Software to Microservices