Optimizations + filter feature

- unset() function has been replaced by array_shift() function that's
more appropriate and fixes few bugs.
- parses now the filters .
Example: filters