1)add profiler for server 2)start to implement the wx api