old_contents: from handlers.auth_handler import LoginHandler, LogoutHandler, SignupHandler
  from handlers.index_handler import IndexHandler
  from handlers.search_handler import SearchHandler
  from handlers.user_handler import UsersHandler, UserHandler
  from handlers.group_handler import GroupsHandler, GroupHandler, GroupUserHandler
  from handlers.room_handler import RoomsHandler, RoomHandler, RoomSocketHandler
  
  from tornado.web import url
  
  url_patterns = (
      url(r'/', IndexHandler, name='index'),
      url(r'/auth/login/', LoginHandler, name='login'),
      url(r'/auth/logout/', LogoutHandler, name='logout'),
      url(r'/auth/signup/', SignupHandler, name='signup'),
      url(r'/([0-9]+)/search/', SearchHandler, name='search'),
      url(r'/([0-9]+)/users/', UsersHandler, name='users'),
      url(r'/([0-9]+)/users/([0-9]+)/', UserHandler, name='user'),
      url(r'/([0-9]+)/groups/', GroupsHandler, name='groups'),
      url(r'/([0-9]+)/groups/edit', GroupsHandler, name='edit_groups'),
      url(r'/([0-9]+)/groups/create', GroupsHandler, name='create_groups'),
      url(r'/([0-9]+)/groups/([0-9]+)/', GroupHandler, name='group'),
      url(r'/([0-9]+)/groups/([0-9]+)/users/', GroupUserHandler, name='group_user'),
      url(r'/([0-9]+)/groups/([0-9]+)/rooms/', RoomsHandler, name='rooms'),
      url(r'/([0-9]+)/groups/([0-9]+)/rooms/edit', RoomsHandler, name='edit_rooms'),
      url(r'/([0-9]+)/groups/([0-9]+)/rooms/create', RoomsHandler, name='create_rooms'),
      url(r'/([0-9]+)/groups/([0-9]+)/rooms/([0-9]+)/', RoomHandler, name='room'),
      url(r'/([0-9]+)/groups/([0-9]+)/rooms/([0-9]+)/socket', RoomSocketHandler, name='room_socket'),
  )
new_contents: from handlers.auth_handler import LoginHandler, LogoutHandler, SignupHandler
  from handlers.index_handler import IndexHandler
  from handlers.search_handler import SearchHandler
  from handlers.user_handler import UsersHandler, UserHandler
  from handlers.group_handler import GroupsHandler, GroupHandler, GroupUserHandler
  from handlers.room_handler import RoomsHandler, RoomHandler, RoomSocketHandler
  
  from tornado.web import url
  
  url_patterns = (
      url(r'/', IndexHandler, name='index'),
      url(r'/auth/login/', LoginHandler, name='login'),
      url(r'/auth/logout/', LogoutHandler, name='logout'),
      url(r'/auth/signup/', SignupHandler, name='signup'),
      url(r'/search/', SearchHandler, name='search'),
      url(r'/users/', UsersHandler, name='users'),
      url(r'/users/([0-9]+)/', UserHandler, name='user'),
      url(r'/groups/', GroupsHandler, name='groups'),
      url(r'/groups/([0-9]+)/', GroupHandler, name='group'),
      url(r'/groups/([0-9]+)/users/', GroupUserHandler, name='group_user'),
      url(r'/groups/([0-9]+)/rooms/', RoomsHandler, name='rooms'),
      url(r'/groups/([0-9]+)/rooms/([0-9]+)/', RoomHandler, name='room'),
      url(r'/groups/([0-9]+)/rooms/([0-9]+)/socket', RoomSocketHandler, name='room_socket'),
  )
subject: simplify urls conf