Introduced modular pattern in Array file
Inline docs inside the array functions