fully working saveSpec...now to do open, import regions, compile, and the simulator plotting