redesign main directory