Created EventFactory with single static build() in EventFactory.class.php