Fleshed out the model and figured out how to tie UI to the model. Also made the model persistent