Major code-layout changes, and update to XBMC playlist