Refactored to namespace, moved main file to src directory. Modified auth method to return $url (not header and redirect)
Moved Exception class to separate file