Added some boiler plate from Estimote API