If we failed to create a folder, send out a warning.
Added an LuaPlayer object
Implemented better way of handling functions