API restructure, and first RDF parsing
Testcases now have input and output. JS format uses the credit line properly.