Created a PendingMessage class for pending SMS-related data clumps.
Refactored phone number type lookup to use a HashMap.