Refactored Main module, created Variant data type.