Added ability to configure Twitter API via environment variables.