New class ArrayTask. A wrapper around php array functions