Added support for multi-mapping.
Added `list` and `move` commands.
Fixed a bug where some commands would flag messages as read.
Some code refactoring.