added license blocks
added Grammar Builder class.
fixed test suite