Flows table and model basics coded and tested