Move DB connection code into DAO constructor