Updated module header.

  Dropped some classic logic in the Module class and replaced it with a
  simpler, Java-like domain/package setup.
Updated module sources for issue #6.

  Implemented underlying logic for the changes made in 7bd21bf.
[ISSUE #6] Updated application logic.

  Added handling for setting the application's module.
[ISSUE #6] Added logic into private headings.