Create context instance