Devinfo refactoring

Re-factor of rilmodem devinfo module