MVC approach to Tic Tac Toe with command line and graphical interfaces