class for manage sms panel with php and rest