Adding books using DAO pattern