Seperate class for Hibernate added