switching machines

added config save/load functions and commands for saving and restarting
the system