Materials Design For Energy Applications Using Ab- Initio Calculations