add basic_flow_control files and change folder structure