Adding model/model generating classes as well as base memory allocating classes