Add utils with quick access for stuff

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Use util functions in code

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Add dynamic templating support for topnav

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>