Refactored insert tag command to use command pattern interface
Also moved execution to the menu bar in the GUI