Removed shared pointer from member variables because of better performance. When shared pointers are needed, they should be used while creating lua::State