Adding class to map which return all node
Class strategy done