DAL: Fixed various warnings but also removed various warning
suppressions so I can fix them properly.
DAL: fixed warnings
DAL: Code tidy up
DAL: Removed unused depedencies