factories specifications and entities model spec