Added functions for wrapping simulation and drawing. Also logic for long simulations (since there is a max frame size, it must be broken into chunks).
Next step would be drawing, which should not be difficult. There is already HTML code for drawing these objects, just need to wire the websockets/html code together. Shouldn't be too difficult from there.

Soon, I will release the iesor native node addon as an npm module. That way, the UI is completely divorced from the sim code.