Deck model and controller finsihed