Added FlowModel and register_model method
Added comments and fields