update force server with an extra optional parameter staticDir

issue #4