Code cleanup, added cloth production