added collection handling and recursion for multi collections
specs added for previous commit
added git ignore