CMS-3547 Create and introduce context in Node and Content-api

Refactored some of the commands, and introduce simple context.