Added configs for spring and hibernate