Rewrote the Space MPD code.

You'll have to test the code though. It's mostly rewritten to be more Pythonic.