Model classes added.
JSON parsing done.
Beacon detection code added.