More Changes 5/5/2014

updated gateway
updated server/php code