Predefined events

Added a simple parser for predefined events into CoreOperations.
Predefined events can be found in events.txt.