Studies on some rare earth based exotic materials - nickelides and cuprates in relation to hydrogen storage adn high temperature superconductivity