move null to coretypes.  Import discover into __init__