Basic structure for REST routing