migrated tutorial to directory format