Initialize the main class to a variable