Implementing a global templating system to make life easier.

Change-Id: Iea9ac3211c2535f3c0a50bc2ba7f9abeefa48bef