add hibernate and spring jpa for persistence
revise project structure