Command queue creation and releasing

as well as finish