Create some doc at the UrlUtils class and adjust some code formatting