how to migrate monolithic to microservices