Remove whitespaces
Move GetURL method to a more appropriated file.