separating cloud.hpp into cloud_common.hpp and cloud_bulk.hpp