Added input capture and validation/sanitization engine