Add nhibernate repository core