refactor packages, add EM Algorithm to rui.tools.clustering