adds main DAO class