Added program config saving and loading