allow api key and environment to be set when creating events
changed readme and bumped version