added functions to the model

saving
loading
favourites list
get random game