Added hibernate pojo, XML and formatted other java files

Added hibernate pojo, XML and formatted other java files