Added hibernate, fixed maven dependencies, moved some files.