sync implemented (and other apis)

*added support for the Sync API
*added other TerritoryInformation APIs
*fixed little bugs