Added pref stuff, more apis, and change song null