Work with TFS is separated from margin implementation and carried out in a separate class.