Refactor error handling code
Remove Twitter::REST::API namespace