Queue classifications

Closes #48 
if the query path will always be user_id, workflow_id then perhaps the indexes should be combined.