added some skeleton code for clustering API
added some skeleton code