Class loading almost working