RMSD clustering from command line

Clustering with RMSD from the command line using RMSD.
Does it make sense to make a baseclass here for clarity?