Added MIT license. More precise documentation for module headers.

Review, please.