Chapter 2: Ab-initio studies of structural and electronic properties