Refactored gas struct to Gas class.
Refactored Sun struct to Sun class.