implemented new message system, expose can service as rest service