added original flowline.py file