changed libsdb, so it is a drop in lib into libssa, implementing an API provided by libssa