added factory and worked on event-cards