Converted the runtimes to an enum. Moved the active runtime information to the StartedEvent.
Added documentation.