psr-0 fixes and uri segment feature added in url helper