Moved the LUA directory and extension variables to the shared project
Adding TextAPI
Fixed compile issues