use generic list and get base commands
Merge pull request #4 from RestPack/gj/use-base-commands

use generic list and get base commands