Added basic file save and load funtionality.