added reset functionality and a usage guide