Architecture of Power Markets