rename 'sys' module with event related functions to 'event'

See #12.
fix includes after renaming, get rid of 'running' variable

See #12.