Update documentation and add a man page