add a structure and basic operations
structure directory