Create ArrayService for array manipulation logic