DAL updates; some formatting, CASCADE and updates.
Merge pull request #233 from timrichardson/cascade_update

DAL updates; some formatting, CASCADE and updates.