Add nhibernate service class.