Basic save functionality implemented, but currently nonfunctional