doctors can now be added and viewed (per device/patient). this commit also includes json parsing and a string helper class because Swift is terrible for parsing