add swoole class and method