how to send as well as read sms using sim300 and arduino

i am doing proj on home security system where i need to enable as well as disable input pins from sensors by sending corresponding messages from mobile to arduino via gsm sim 300 module.. i need useful suggestions or a working code asap. plz help