modified dao impl to use a given framework.