Added DB2 adapter and refactored other db adapters

Signed-off-by: RedChrome <redchrome@gmx.de>