update docs
update eventdispatcher
define Flow class
build and update docs