Added the build() function within Model in the AbstractModel
Variables within a model are not anymore the variables of the factory