added support for collections, dates, Options and lists

I added support for collections, dates, Options and Lists as without them the library is not much useful.