Added in the Monster Factory code