add dispose support and refactored, release 0.0.2 including preliminary tests