Refactored arrays methods into smaller, focused modules. Added "core" modules as a naming convention.