Added Save functionality.
- Fixed critical bug with input path
- Cannot load and save immediately.