implement uuid support, implement db conversion and optimize imports