Moved the list command into it's own class