fix nullpointerexception
add log to /tmp/log/
init mgc
init mgc
init online mgc. change
add entity