Mass introduction of enums

Where-ever enumatorated constants could be found, enums have been
placed.