add 'rm' and 'list' commands