updated directory structure and added phydirs script