refactor in bundle installation routine and server-side implementation of sending bundle to cloud
publishing effects to cloud