Added basic inplementation of deck operations