Added parameterized constructors for ConnectionManager and DAO.