Java simulator and other tools supporting LEMS