Code for GORM and Services

Hi

This PR contains session code for GORM and services. 

Regards,
Prashant