made behavior into a package, fixed spotify plugin