Changed so that main class only intilized a new class