Added missing files
Hibernate sessionfactory deprecated functions replaced with server
registry and added sample servlet