Built the deck controller and associated .erb files.