Finalize the functionality of the 'add' command, document it.
Add a simple functiont test for 'mdp add'.