Added relation type NONE for events which don't have a relation.
Refactored producing of relations into Parser class for better encapsulation.