refactor methods for inflating chart menu
add handlebars templates