move server init into core
add diff-hl