Added base files for nhibernate and configured it.
Reorganized program structure