[clustering.dbscan] Class refactoring (issue #124)