Improved gradients parser

Now supports URI save and conversion + fast parsing of standard form.