Moved api address and port to constants, use data.* instead of api.* and bump version 2.1.8