Added structures

Some bug fixes
Changed the useItemInMap args
Improved lighting
Improved the gravity updater