adding template in compilation process and simple output of the uri