split server into a package and main
server: StartFromConfig