Added Save Functionality

Need to clean it up a bit when I'm less tired.