Definition factory classe