Add TomConfig class to Tom class