Fixed the sql_connection function.  I need to submit the xml elements rather than the actual userid's and passwords.
Fixed some typos and also simplified the defaultgateway_snmp_mac_pull function
Fixed a typo
Fixed some typo's, cleaned up the code, and set the tab spcaing to 4 spaces rather than actual tabs.