Adding initial core with spec detection logic