moved FlatEdge class to classes.py
changed to reflect filename chane to 'classes'
moving functions to classes.py
cleaned up segmentation code, now adds missing edgeLine