updating redirect to take regexps and a secure flag which simply redirects the url from http to https
updating storage so that multiple set calls is easier to do, by chaining promises
using Addon.type