make stateful object for shared code between config and vm classes