Creating IntentNode. Bug fixes.