Changed config, removed debug messages and updated express calling convention.