redesigned ecloud module, test script is in