Added build_url function in URI; Added the function to template scope in TPL
Changed ApiConnect way of building URLs; Deleted obsolete ScaffoldController