need to overload stream operators and create list<> for database