Cleaned QB framework. Moved ClusterMap to python space.