creating nhibernate repo manager.