QueryPage interface getSession() returns ISession and setSession() takes ISession argument
add ICriteria interface and CriteriaProxy implementations
implement createCriteria(Class) on ISession and createCriteria(String, String) on ICriteria