changing distutils to setuptools
allowing to override google api url
based_fields now work both ways