Moved coretype enum to its own enum file so that other classes can use
it.