Ab Initio Theory of the Ground State Properties of Ordered and Disordered Alloys and the Theory of Ordering Processes in Alloys