more refactoring, more testing, getting x and y eye data in file now