rename ScriptParser
add GDI class
fix gdi compile errors