Updated save method so things are saved immediately on change. Attempted
to add the support libraries in a different way.