added semantic index and generatingReplace
NewSQLGenerator passed all tests