Made M2SKUtils Class to define constants instead of #define.
Added M2ControllerUtils Class and some utility functions for setting and updating UI elements.