simplify commandline arguments
change .update() with upsert to .save()
clean up slave and server commandline