More documentation, reverted functions to use deck pointer instead of card