added nhibernate, mapping configuration and read-write repositories