clustering part
remove unnecessary files
last changes to make it work