Added deck model and controller