improve centroid creation, fix routes, and modularize
make silhouette 'a' value more rigorously defined and update package.json version