added library dependencies, added spring and hibernate configurations files