bench command works. Refactor to remove server componenet