API cleanup. Started to add SABnzbd.