get relative path, auto set base, merge urisplit() into __construct()