The core papaya engine