added setup for preloading basic classes.