22/add get cluster method

PR for #22