5/4/2014 More Changes

modified gateway code
modified node code
modified server/php code