fixed PolicyServer
add core
fixed DECODER and ENCODER of core's server