use now factory to implement DAO with DB
next step : impl DAO with file system