Initial checkin of non-UI Dart code

Parsing works. Exporting almost there.