create a single and multi cluster base class