Electronic structural and finite temperature studies of nano structured materials using ab initio methods