Modified to read service_key from configuration file.

Fixes #1