updated servermain and kairosdb activator