cleanup of old code, documentation regeneration