Generic search component for different search algorithms applicable for AI Planning