Arduino-Java-XBee Based Security System (w/optional automatic gate)