refactoring platidoma integration