Changed seedrandom to come from CDN
Added init method to API.