Removed Rails namespace.
Added constants for live and test url.
Moved cardgate.rb one folder up.
Added Cardgate::Gateway with method to switch live and test environment.