Organize the common code in the recipe to make easy the inclusion of new greengrass versions. Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>