Add ReplaceSeries and refactor the CreateSeries function into smaller steps

I don't see the privKeys used anywhere. If you want to create a series with privKeys in them you have to use EmpowerSeries.