import functions
import tool which groups directory from popularity according to user