adding some documentation and other things to smmd