Restructured to allow for remote AT commands