Fixed the constructor being renamed wrong. Fixed the class not being defined correctly. Fixed CURL returning status code 301.
Added testing/example file.