adding compat bundle which provides a Session API similar to Hibernate