Use an external library for smartfile and vector
Move Clusters class into a separate file.