Generalized rendering code, other reorganizing.

- Placed all data types / synonyms in Type
  module.