- added getKeys method
- added docs
- tidy