Handle input lines.
Add first command implementation for node_exists.