Tash previous Main class and reference new one everywhere needed