Move H2 and Hibernate as inner class of DatabaseConfiguration