Did some further DAL implementations.
Upated ERM and SQL (added active/deleted flag for soft-delete)
Implemented a global logging mechanism.
Merge remote-tracking branch 'origin/work' into work