Adding file output

* Adding optional checkbox for saving cropped images to disk (circular
cache of most recent 10 pairs)
* Refactoring params given to Model into a data class.