add create flags; check iota generated constants are correct; update example to use new constants; rename CreateEventStream -> NewEventStream
simplify creating of runloop