Refactoring common code to create MeetsCloud