-added asArray in Collection
-added docblocks
-added gitignore