Removed integrate functions
Added Lua header