move OSFLine to classes.py