directory structure and url class