PageCode is passed a reference to app config object. Closes #80.