Software Abstractions For Programmable Quantum Network Nodes