Preeliminary DB Support

Current State:
- Everything should be working, with periodic 1 minute saves & OnLeave
save;
- Haven't tested mysql;
- If you get errors to report, please do so. I was getting unhandled
exceptions  which I did not manage to reproduce.