Abstract out common (to NEXUS/NEWICK processing stuff)
Clean up header and imports
Very broken, in progress nexus parsing