Fixes #130 - better code modularity.

* Moves url, free text, and comments' processing out of the main module.
* Moves import inliner, and shorthand notations out of the main module.
* Moves color processing out of the main module.