Added Prepared Statements

Added PS to Consumer Model and Nonce Model.