Added way to turn iPhone into beacon, cleanup