parsing lines (names, dates) and saving to bean