how to convert monolithic to microservices