Finished cl2cloud.cpp. TODO: compile it.