Added cloth class and cloth unit tests