add NHibernate Session management, main tables and mappings