Removed unused code
Cleaned up get_all_chest_keys()
Added comments to most functions