To clean up, quit the app. Now use the app AppCleaner to remove everything from your Mac. Restart, reinstall, log in.
Now keep the client active for some time (can be in the background) to let it download all it needs.
What you get is a minimal - functional install,
You could further reduce it by moving the database to an external drive (SSD), or install without a local copy. Without a local copy you will suffer some drop in performance.