Update ModelViewController.java

Added function calls for serialization.