Add addNewDocument method
Add some handy "short-cut" functions
Add createCommand method and rearrange code
Add size method
Add methods that turns a numeric index into a string for getting the element (an array is actually a document)
Add more samples