Decoupled tensorlib (builds and runs via Xcode)