add tests and clusters config and performance refactoring, Yeah finish