Changes to core for the new services code

This PR contains the changes to core.py to use the new XML services code in #51. It works for me and passes the UnitTests (except for one, which is broken anyway because it does not transfer track metadata correctly).