Beginning functionality on the event pig loader