Accidentally connected iCloud to my work machine and now I have a huge mess on my hands.
Did you logged out from iCloud on your working machine?
First of all try to do this: System Preferences > iCloud > Sign Out