Added --list option. Closes #9