structure modification..move integrator to mesh class
todo:: use viewer only - remove previewer class