added reset functionality
Merge pull request #40 from ppicinic/base.reset2

added reset functionality