Moved App HTML to templates
Added context menu for bars