Remove unused imports and recreate db