Added url fixing, stubs for macros (future), and updated readme to accommodate changes.
config.js now depends on environmental variables.