beginning to implement the storage engine to "nhibernate".