COMPLETELY changed the main inventory, player and world objects into
independatnt functions, replacing dots with underscores.
Added unused import tag
Added importVar function
Added remaining functions, renamed tup() to find_tup(), added comments,
removed some blank lines