Added new factory pattern files.