On the genus field and its applications to four problems in algebraic number theory