Implemented input sanitizing; Added stubs