a bit more on objects and created a DAO layer