Moved CBlock from main.h to core.h