csv handling + frontend