Added twilio library and integration. Fixes to querying for creating new readings