Added a lot of tests
MySQL will terminate connection after long idle time, fix by asking the pool to check if they still work.
Renamed Smmdb to SmmDb and split out the GroupMapper as well.