add some core classes and basic test support.