moves array methods into ArrayMethod module