now ServerDatabase complete

ServerDatabase completed. Extensive debugging not done yet, will need to
check later with larger database, hopefully everything will hold
properly.