Refactor TMCConfiguration