Clouds and refactoring