Finished implementation of CompDAOImpl