Why was the department of defense created