add preferences addon, initial implementation