Renamed namespace stateprinter for main class