parsing url for framework