Working sms reading and database updating.

Signed-off-by: klokuhewage <rc404mekt@gmail.com>