Array variable support
Array variable readme update
Small code reorganization