Added initial context object for the API layer