Refactoring code.  Moved seriesDetails class into separate file.