"chewy list" command was fixed; some refactorings