Add a node/ways handler

No tests yet. Uses the existing backend functions.