arranged the main directories