Refactor project to have generally available URLEncoder