added using api key from env var by default. removed oj dependency