Mega-refactor introducing LwM2mExchange