Microsoft to cut on software development, focus on ads