better children param check
Constructor accepts api_key and compile() accepts schema file
Parser error handling
Moved generator.php to src/
Updated docs and added example
Updated input and output
Merge conflict