created collection base class in support which eloquent collection inherits. added each and filter methods.