coding #2 defining the main view using url mappings