organizing the directory struture