add bool and nil
fix lisence headers
fix to use bool/nil for condition
add LuaFunction
add functioncall