Renamed World to Essence and refactored code