split TaskManager into AdapterMap and KlassMap;
add more tests;
rename MapBase to TaskMapBase;