api key is now read from api.key file.

Issue #1