change database to use UUIDs and auto convert old

databases
optimize imports for cleanness