series active flag and version number added. Functionality only. Tests are in another pull request as per @teknico's request.