move base URL finder into function
move base URL finder into function

xvilan/tangram,DHaylock/tangram,xvilan/tangram,TitoAgudelo/tangram,zerebubuth/tangram,ceseale/tangram,DHaylock/tangram,xvilan/tangram,rosamcgee/tangram,taylorhxu/tangram,zerebubuth/tangram,TitoAgudelo/tangram,taylorhxu/tangram,zerebubuth/tangram,DHaylock/tangram,ceseale/tangram,TitoAgudelo/tangram,rosamcgee/tangram,ceseale/tangram,taylorhxu/tangram,tangrams/tangram,rosamcgee/tangram,tangrams/tangram