Rewritten some code

It now supports alloy collections, the implementation Is not written in
stone. Probably going to add more support for filtering collections.

- New change to the way raw data are passed in, now it's just a array
containing values.