init state, bin and cache folder delete