upgrade keywords
add BEGIN and EOF tokens
fix bug in stateDelimiter
add test cases for INSERT and SCHEMA