added server options for running local server, and make execAsyncAndWaitFor public, which is very lazy of me