set different config path for Windows and Linux
update several Lua api functions (return object(table) instead of name(string) is more convenient)