Switched to NHibernate

- Migrates old database to new one
- Bug Fixes