Replaces the old statemachine. Done so far: - Basic command interface - Machine saving and loading - Sample dummy machine