Refactor GPU command table