sub commands simplified along with server mode choices. static file sending fix