Initialize save functionality. Untested as of now.