Basic flow implementation

Might want to make dest_host_id an optional parameter as well, defaulting to None? Also, style nit: don't put space around '=' for optional parameters, i.e. 'src_host=None'.