initial clean up of DAL to use DAL2

WIP to replace the old style data access layer with DAL2