remove unnecessary class folders