Move binding of classes to boot