adding array support
0.2.0

* add array support, by [@dominicbarnes](https://github.com/dominicbarnes)
* cleanup