Update SugarModules/modules/Asterisk/stackmob.php

make it into a class