Refactor urlconfs