adds spring data and hibernate configuration