Added more loading code, fixed string variables, added basic Lua interface