Add config and constants modules

Removes need for hard-coded strings in modules
Rename toMarkdown dependency function