starts a server with a config