Implementation of package search by a criteria