Fix if-elsif
Convert null into nil if newFormat is 2
Create module dynamically
add test of #build_url
Coverage and Coveralls
add test of #check_token
add test of #build_query snake case