Migrate relevant functions over to drytomic.core.

* able to spit a rudimentary dot file