various helper classes and directly related to the hibernate persistence.