Implement command queue and index view to get tests passing