Class and Methods for Structural Time Series Models