Split XBMC service functionality into separate files