add optional config for creating a grapthite cluster. fixes #6