version bump 0.0.2: cleanup

- internal representation and to_text (fixes #2)
- cleanup and reorganization of codebase