1. Removed initialization with naive opitmization.
2. Saving framework results in addition to optimization results.