Rename types.h to core.h