Basic flow implementation

Ok fair enough, I will keep the host_id parameter and get_host_id() method.