merge render command factory into renderer