Move getRaceURL to utils and add test
Move parseURLParams to utils, clean up, and add test