Implement REST API as backend for NMControl.