Added cloth type class, and added it as an argument to cloth class