turned functions in lc_data.py into class and methods