add ibeacon plugin support & object oriented event.