Pulse all ingredients except heavy cream in food processor. This makes standard basil pesto which can be stored individually (top with a think layer of olive oil when storing, to prevent discoloration).
To make creamy pesto, add 1 1/3 cups heavy cream to 2/3 cups of the basil pesto. Heat over medium-low heat and simmer until thickened. Serve immediately.