changed eaf methods to class functions; add CSV export