refactored base code for ease of debugging; releveant editor and visualization files are with each plugin