Moved deck to its own file