Add ReplaceSeries and refactor the CreateSeries function into smaller steps

again, no need for privKeys.