Added lua inheritance for objects, increasing performance and ease of programming