polish #72
- class cleanup
- test methods
- use temp directory for installing stuff
- update dependencies
- fix bugs!